<!-- 发现音乐 -->
<template>
	<a-tabs v-model:activeKey="activeKey" @change="(activeKey) => {router.push({ name: activeKey })}">
		<a-tab-pane key="recommend" tab="推荐"></a-tab-pane>
		<a-tab-pane key="playlist" tab="歌单" force-render ></a-tab-pane>
		<a-tab-pane key="3" tab="Tab3"></a-tab-pane>
	</a-tabs>
	<router-view></router-view>
</template>

<script lang="ts" setup>
import { ref, onMounted } from 'vue'
import router from '@/router/index'

const activeKey = ref('1')



onMounted(() => {
	router.push({ name: 'recommend' })
})







</script>








<style lang="scss">

</style>